package com.xiaomaoguai.springmvc.model;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * @Description :
 * @FileName: Student.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年5月18日 上午9:48:37
 * @Version:V1.00
 */
@JsonIgnoreProperties(value = { "password" })
public class Student implements Serializable {

	private static final long serialVersionUID = 1L;

	private int userId;

	private String username;

	private String password;

	public Student() {
		super();
	}

	public Student(int userId, String username, String password) {
		super();
		this.userId = userId;
		this.username = username;
		this.password = password;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "Student [userId=" + userId + ", username=" + username + ", password=" + password + "]";
	}

}
